package cn.service.claim.impl;

import cn.dao.claim.ClaimVoucherDetailDao;
import cn.entity.ClaimVoucherDetail;
import cn.service.claim.ClaimVoucherDetailBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("claimVoucherDetailBiz")
public class ClaimVoucherDetailBizImpl implements ClaimVoucherDetailBiz {
    @Autowired
    private ClaimVoucherDetailDao claimVoucherDetailDao;

    @Override
    public void save(ClaimVoucherDetail claimVoucherDetail) {
        claimVoucherDetailDao.save(claimVoucherDetail);
    }

    public ClaimVoucherDetailDao getClaimVoucherDetailDao() {
        return claimVoucherDetailDao;
    }

    public void setClaimVoucherDetailDao(ClaimVoucherDetailDao claimVoucherDetailDao) {
        this.claimVoucherDetailDao = claimVoucherDetailDao;
    }

    @Override
    public void delete(ClaimVoucherDetail claimVoucherDetail) {
        claimVoucherDetailDao.delete(claimVoucherDetail);
    }
}
